package com.mall.api.service.Impl;

import com.mall.api.dao.ProductCategoryDao;
import com.mall.api.entity.ProductCategoryEntity;
import com.mall.api.service.ProductCategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * 商品分类表
 * @author Venus
 * @date 2020/05/06
 */
@Service
public class ProductCategoryServiceImpl implements ProductCategoryService {

    @Autowired
    private ProductCategoryDao productCategoryDao;


    @Override
    public List<ProductCategoryEntity> getProductCategoryList() {
        List<ProductCategoryEntity> productCategoryList = productCategoryDao.getProductCategoryList();
        return productCategoryList;
    }
}
